Automatic Proxy Setting Modification

ABSTRACT

The proxy settings for a browser are modified to route public Internet traffic through a local client assistant, while keeping previous proxy policies intact. The process compares the previous proxy results for a known, public Internet address to the previous proxy results for the desired Internet address. If the two proxy results are equivalent, then the request is directed to the local client assistant, otherwise the request is directed according to the previous proxy results. If the testing of the public Internet address had resulted in the use of a proxy, then the local client assistant will route its requests to the proxy so indicated.

RELATED APPLICATIONS

This application is a divisional of U.S. application Ser. No. 10/882,791, filed Jun. 30, 2004, which is incorporated by reference herein in its entirety.

This application is related to U.S. patent application Ser. No. 10/882,794, filed Jun. 30, 2004, entitled “System and Method of Accessing a Document Efficiently Through Multi-Tier Web Caching”, now U.S. Pat. No. 7,587,398, which is hereby incorporated by reference in its entirety.

TECHNICAL FIELD

The present invention relates generally to the configuration of Internet browser settings for use in computer network systems, and in particular to automatically modifying browser settings.

BACKGROUND

Computer networks may take a variety of forms. They may be located within a small, local geographic area, such as an office building, and consist of only a limited number of devices. This type of network is commonly referred to as a Local Area Network (LAN). On a broader scale, the networks may be larger and support more users over a wider geographic area, such as across a city or state. This type of network is commonly referred to as a Wide Area Network (WAN). On an even broader scale the LAN and WAN networks may be interconnected across a country or globally. An example of a globally connected public data communications network is the Internet. LANs and WANs are more likely to be private networks, that is, those which do not allow access by non-permitted computing devices.

Devices which may be associated with these networks may include personal computers, cellular phones, mobile data terminals, radio modems, portable computers, personal digital assistants, pagers, mainframes, departmental servers, mass storage devices, or any other similar device. A browser is a software program designed to help a user access information stored locally or on networks.

A proxy is a device or mechanism (usually an application program) on a network node which performs specialized functions and typically sits between the user's device and a network. One such function is to provide network security. Security is provided between a private and public network by requiring communications (e.g., information exchanges) to pass through the proxy. Another function of a proxy is to store or cache recently accessed information (e.g., copies of documents and images). If a browser desires information which is located outside the local network, that is to say on an information source attached to an external network, communications pass from the browser through the proxy before going on to the external network.

SUMMARY

In accordance with one embodiment of the invention, a method is disclosed for determining a proxy. A first proxy is determined for a predetermined host as well as a second proxy for a desired host. The resulting proxy is the first proxy if the first and second proxies are equivalent and is the second proxy if the first and second proxies are not equivalent.

In accordance with another embodiment of the invention, a method for creating a modified proxy setting for a browser includes inputting a current proxy setting. A first computer programming object is created for determining a first proxy for a predetermined host using the current proxy setting. A second computer programming object is created for determining a second proxy for a desired host using the current proxy setting. A third computer program object is created for returning a predetermined proxy as a proxy if the first proxy and the second proxy are equivalent, and otherwise returning the second proxy as the proxy. A fourth computer program object is created by including at least the first script code and the second script code into a computer program object.

BRIEF DESCRIPTION OF THE DRAWINGS

For a better understanding of the nature and embodiments of the invention, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

FIG. 1 illustrates a connectivity environment.

FIG. 2 illustrates a connectivity environment in which an embodiment of the present invention may operate.

FIG. 3 illustrates another connectivity environment in which an embodiment of the present invention may operate.

FIG. 4 illustrates yet another connectivity environment in which an embodiment of the present invention may operate.

FIG. 5 illustrates still another connectivity environment in which an embodiment of the present invention may operate.

FIG. 6 illustrates still another connectivity environment in which an embodiment of the present invention may operate.

FIG. 7 illustrates a flow chart for a control program according to an embodiment of the present invention.

FIG. 8 illustrates logic associated with determining a proxy setting according to an embodiment of the invention.

FIG. 9 illustrates a flowchart for creating instructions that create modified proxy settings.

FIG. 10 is a block diagram of a system according to an embodiment of the invention.

DESCRIPTION OF EMBODIMENTS

FIG. 1 illustrates an environment 100 in which a computer may be connected to one or more networks. For example, a client 102 can be connected to the Internet 104 or a private network 106, or both. Optionally, a proxy 108 may be located between the client 102 and the private network 106. Likewise, the client 102 can be connected to the Internet 104 via a proxy 110. The proxies 108 and 110, when used, act as gatekeepers which may be used for a number of different purposes as described earlier.

The client 102 can be any number of different types of client devices, such as a personal computer, a cellular phone, a mobile data terminal, a radio modem, a portable computer, a personal digital assistant, or another type of device that can be used to obtain information from networks. Proxy 110 or 108 can be an application running on the client 102, an application running on a server remote from the client 102 in the network, or a specialized server.

The private network 106 may include of any number of different types of networks including local area networks, wide area networks, and other types of networks within companies or localities or other networks where access is limited or controlled (e.g., a company intranet). The private network 106 is typically defined by a set IP addresses (internet protocol addresses) which are designed to be within certain geographical or logical groupings, but more importantly, not considered to be part of the public internet, such as Internet 104. For example, a company may place its servers and clients on a private network which is isolated from the public.

A user will typically use a browser (not shown) or other application to access a particular resource on the private network 106 or the Internet 104. The user enters a uniform resource locator (URL) into the browser and then the browser attempts to locate the resource. The URL consists of a number of elements, including, for example, a protocol, a hostname and a resource location. Other elements might include a port number or authorization information. The hostname is the name of the server on which the desired resource is located. The hostname may be represented as a domain address, i.e., series of digits such as 216.239.36.10, or by a domain name, such as www.google.com, which must ultimately be translated using a domain name system (DNS) server into a domain address. RFCs 1480 and 1591 promulgated by the Internet Engineering Task Force (IETF) provide more information about domain naming and RFC 1738 addresses URLs. Based on the hostname, the browser determines whether the client 102 will send the request directly to a particular network or to a proxy. As mentioned above, proxies are typically used to provide services such as document caching, DNS caching, security, and/or enforcement of local policies.

In certain situations, an application running on a client may need to communicate with an application on a server. This may be particularly useful for providing services between a client and a network such as the Internet. For example, a system and method for providing accelerated delivery of documents to a client from a network is described in application Ser. No. 10/882,794, System and Method of Accessing a Document Efficiently Through Multi-Tier Web Caching”, filed Jun. 30, 2004, which is hereby incorporated by reference. In such a system and method, a local client assistant is paired with a server application to assist in the delivery of documents. In this context, the term “document” is used broadly and includes files and data structures of many types, including text documents, images, audio, multimedia files, data steams, and so on. Other types of services could be imagined and still fall within the scope of embodiments of the present invention.

FIG. 2 illustrates how a client assistant and server application can be used in conjunction with a client's connections to one or more networks according to an embodiment of the invention. Private network 106 is connected to a client 204 via a proxy 206. Alternatively, the client 204 can be connected to the private network 106 without the use of the proxy 206. A client assistant 208 is resident on client 204 and acts as an interface between the client 204 and a server 210, which in turn provides an interface to resources on the Internet 104. Optionally, a proxy 214 may be logically or physically located between the client assistant 208 and the server 210. In order to take advantage of the services provided by the combination of client assistant 208 and server 210, the proxy settings of the client 204 must be modified, yet still taken into account. This helps to ensure that the current use of proxies and network configurations will not be adversely affected or circumvented.

The term “located” is used here and elsewhere and should be understood to apply to locations which may be physical or logical. For example, proxies may be local software applications running on the client, stand alone hardware/software combinations, or applications running on a server remote from the client. One of ordinary skill in the art will recognize various ways to achieve desired proxy features.

A client computer may be configured to operate within various types of connectivity situations, the features of which must be addressed when configuring the client computer to work with the client assistant/server combination described above. FIGS. 3-6 are illustrative of some of these connectivity situations. Persons of ordinary skill in the art will recognize that the principles laid out herein are naturally extended and applied to variations and permutations of the connectivity examples illustrated herein.

FIGS. 3 through 6 show network configurations before and after the addition of a client assistant/server combination to the system. For each of these network configurations, original proxy settings and revised proxy settings are discussed. The revised proxy settings are used to route Internet traffic through a client assistant/server combination while preserving the routings associated with the original proxy settings.

FIG. 3 illustrates one possible scenario in which the client assistant/server combination could be used. As described above, the services provided by the client assistant/server combination may be utilized when the client assistant and server are located between the client computer device and the Internet. As illustrated in FIG. 3, the client computer 204 is connected to a proxy 206 which, in turn, is connected to the private network 106. The client 204 is also connected to the Internet 104 directly (i.e., without an intervening proxy) as noted by the dashed line 310. In this network configuration, all requests and connections to the private network 106 are routed through the proxy 206. As mentioned before, this may be done for a number of reasons including policy enforcement, security, or caching, to name a few.

When a URL request is processed by the browser on the client 204, the browser will examine the URL to determine whether the address of the host in the request is within the private network 106. This might occur, for example, under control of code within, or accessed by, the browser. The browser determines whether the protocol address is within the private network, and, if it is within the private network, sends those requests to the proxy 206. On the other hand, if the address is determined not to be within the private network, then the request is sent directly to the Internet 104 via the dotted line connection 310. In such an instance, it would be desirable to replace the direct connection 310 with connections that would cause Internet requests that previously would have gone directly to the Internet 104 to be routed to client assistant 208 which would, in turn, direct the requests to server 210. This can be done, for example, by configuring the browser to recognize the client assistant 208 as a local proxy for requests directed to the Internet 104. The combination of client assistant 208 and server 210 can provide enhanced connection services between the client 204 and the Internet 104. For example, client assistant 208 and server 210 could provide enhanced caching and document delivery, thereby decreasing the time from when a user requests a document until user sees or is presented with the document. Although described here and elsewhere using a browser as an exemplary application, one of the ordinary skill in the art will recognize that the concepts employed in the embodiments described herein would apply equally well to other type of applications used to access network resources.

In this connectivity example, the browser configuration should be modified to recognize the client assistant 208 as a local proxy for connections directed to the Internet 104. However, the original proxy settings for addresses within the private network 106, which cause requests directed to those addresses to be sent through proxy 206, should remain unchanged. Altering the original proxy configuration for the private network 106 might have adverse consequences for security, policy enforcement, caching or other features associated with the private network 106.

FIG. 4 illustrates a second connectivity example in which a client assistant/server combination could be used to enhance the user's experience. In this example, the client 204 is connected directly to the private network 106. Unlike the previous example in FIG. 3, there is no proxy between the client and the private network. On the other hand, a proxy 214 is used between the client 208 and the Internet 104 as illustrated by the dotted line 410 between client 208 and the proxy 214 and the dotted line 412 between the proxy 214 and the Internet 104. In this example, it is desirable to maintain the logical positioning of the proxy 214 between the client 204 and the Internet 104 when adding the client assistant 208 and the server 210. This proxy 214 may provide various services, including, but not limited to, firewall protection, filtering services, or such services utilized by local administrators for managing network traffic to those Internet protocol addresses which are not recognized as belonging to private network 106. Accordingly, the client computer's revised proxy settings should route requests to such addresses through the proxy 214. This can be achieved by modifying the proxy settings of the browser to point to the client assistant 208 if the address is not recognized as being located in the private network 106. Those addresses which are recognized as being within the private network 106 are forwarded directly to the private network 106. The client assistant 208, in turn, is configured to direct its communications with the server 210 through the proxy 214. The proxy 214, using the IP address created by the client assistant 208, would then direct the requests to the server 210 while applying is processing features. In this way, the policies and services provided by proxy 214 are maintained even with the addition of the client assistant 208 and the server 210.

FIG. 5 shows yet another connectivity environment in which the client assistant/server combination could be utilized. In this example, a number of proxies 502 are located between the client 208 and the Internet 104. A particular proxy 502 might provide additional and more specific features associated with particular topics or areas of research. For example, one proxy 502 might be used with Internet addresses associated with medical web sites and another might be for legal web sites, while still another might be used with research and development web sites. These proxies 502 can take advantage of the frequent and specialized searching accomplished within those desired areas. For example, in the case of a proxy 502 used for addresses associated with medical sites, the likelihood that a medical-related document might be present in a cache of the proxy 502 would be higher than if the request was sent though a proxy handling all, or different, types of Internet sites. These proxies 502 could also be used for a variety of other reasons such as providing local caching of data that is accessed frequently or by many users. Moreover, these proxies 502 could be used in general browsing and for mirroring copies of certain websites. The IP addresses which are not recognized as belonging to a specific proxy 502 would be directly routed to the Internet 104 via the dotted line 508. In this example, it is desirable to replace the direct connection 508 with a connection from client 204 to client assistant 208, with subsequent connection to server 210. The server 210 is connected between the client assistant 208 and the Internet 104. In this example, so as not to lose the benefits provided by proxies 502, requests directed by the original browser proxy settings to proxies 502 should continue to be handled by proxies 502. This may be achieved by, for example, modifying the browser's proxy settings to send all requests not otherwise handled by any of the proxies 502 to the client assistant 208. The client assistant would send the requests to server 210 as needed.

FIG. 6 illustrates yet another connectivity environment. In this environment, in accordance with the original set of proxy settings, the client 204 is connected to the Internet 104 via the proxy 214 as illustrated via the dotted line connection 608 between the client 204 and the proxy 214 and the dotted line connection 610 between the proxy 214 and the Internet 104. In this situation it is desirable to maintain the proxy 214 between the client 204 and the Internet 104. This example, might be representative of an Internet service provider-type connection where all Internet requests are routed through a proxy, via, for example, dial-up or broadband connection. Persons of ordinary skill in the art would recognize other situations where all Internet traffic is routed through a proxy 214. As before, to retain the services provided by the proxy 214, the local browser proxy settings should be modified to direct all traffic to the client assistant 208 which in turn directs its traffic to the proxy 214. The proxy 214 will then direct the traffic, not through the dotted line connection 610 to the Internet 104, but to server 210 as a result of addressing by client assistant 208.

In some embodiments, when the proxy 214 is determined to be a local proxy, modified proxy settings are not generated. As a result, the services provided by the client assistant/server combination are not available to the client computer 204. In yet other embodiments, when a local proxy 214 is determined to meet predefined criteria, the user's browser configuration is left intact and the local proxy is modified to send its requests to the client assistant 208, which in turn sends the requests to the server 210. However, this embodiment requires knowledge of the local proxy's configuration and the ability to modify it, neither of which are always available.

Placing the client assistant/server combination in the connectivity environments described above according to embodiments of the invention can be accomplished with the following realization: that the browser should route the private network traffic and traffic for specialized proxies as it had before, but otherwise send the traffic to the client assistant. In addition, the client assistant will be configured to route other traffic through the existing, general proxy, if one existed. Otherwise, the client assistant is configured to send the “other traffic” directly to the server paired with the client assistant. In other embodiments, there is not necessarily a direct pairing between client assistants and servers and the client assistant might connect to other servers which still allow the client assistant/server combination to achieve the desired effects.

FIG. 7 may be used in understanding how embodiments of the invention operate in practice and is applicable to the various types of network interconnectivity described above. Although the figure illustrates a number of logical stages in a particular order, stages which are not order dependent may be reordered and other stages may be combined or broken out. While some reordering or other groupings are specifically mentioned, others will be obvious to those of ordinary skill in the art and so do not present an exhaustive list of alternatives. Moreover, it should be recognized that the stages could be implemented in hardware, firmware, software or any combination thereof.

Initially a control program is run on the client (stage 702). This control program may be launched by user initiated action or by automatic processing, such as by a start-up script. The control program may be configured to operate as a background process. The control program launches the client assistant (stage 704). In some embodiments, the control program waits for an Internet trigger (stage 706) before proceeding further. The Internet trigger may be the establishment of a connection between the client assistant and an associated server to which certain Internet traffic will be routed. In some embodiments, the control program does not wait for an Internet trigger.

Next, the control program reads the current (i.e., original) proxy settings for a browser application (stage 708). The control program reads the original proxy settings by any number of ways according to various embodiments, such as: (1) reading a set of entries in a registry of the client computer's registry; (2) calling an operating system provided function that provides the information; or (3) using a browser-specific function that provides the information.

The existing proxy settings, sometimes herein called the original proxy settings, are stored by the control program (stage 710) both for determining a set of modified proxy settings and for returning the proxy settings to the original proxy settings at an appropriate time, as explained below. In some embodiments, the original proxy settings are stored in a private area of the client computer's system registry. Using the original proxy settings, the control program determines and creates the modified proxy settings (stage 712). One embodiment of stage 712 is described more fully in connection with FIG. 8 below. The new proxy settings are then stored in the system registry and indicated to the browser for its use (stage 714). In one embodiment, the control program does this by creating a proxy auto-config (PAC) file that contains Javascript commands which are read by the browser as part of its processing of a URL request. The browser may be made aware of the new PAC file in any of a number of ways, including writing a reference into the system registry pointing to the new PAC file. In other embodiments, other mechanisms may be used to indicate the modified proxy settings to the browser, including: (1) writing the proxy settings to the system registry or a configuration file; (2) calling an operating system provided function that sets the information and indicates the new settings to the browser; (3) using a browser-specific library that does the same; or (4) using a browser-specific communication mechanism to indicate the new settings to the browser. In some embodiments, the new proxy settings are implemented as an executable program having machine code instructions native to the client computer.

After establishing the modified proxy settings, the control program monitors the network connectivity of the client computer. If the network connectivity changes or if the client assistant becomes disconnected from the server (stage 718), the control program restores the original proxy settings (stage 719) and then returns to stage 706. The control program also determines if itself should be terminated (stage 720). For instance, the control program should be terminated if the client computer is performing a shut down or restart sequence, or if the user requests that the control program terminate. When the control program determines that it should be terminated, the control program restores the original proxy settings (stage 722) and the client assistant is terminated (stage 724). Finally, the control program itself terminates (stage 726).

Before discussing how the modified proxy settings are created (stage 712 of FIG. 7), it is helpful to understand the logic behind the new proxy settings which takes into account the previously described connectivity environments with reference to FIG. 8. As an initial condition, it is desirable to identify the original proxy settings for public Internet addresses. Accordingly, one or more, known, public Internet addresses are tested against the original proxy settings (stage 802). One example of a public Internet address might be www.google.com and another might be the address of the server used in conjunction with the client assistant. If the public Internet address results in a no-proxy value, then there is a high likelihood that public Internet addresses are not routed through a proxy according to the original settings. Conversely, if the result identifies a proxy, then there is a high likelihood that the original proxy settings route all public Internet traffic through that proxy. Other addresses could also be used to probe the original proxy configuration.

In this discussion, proxy settings are assumed to be a computer program or script that produces a result when presented with a URL as an input. The settings could be, for example, stored in a local file or accessible via a URL. When the result is “no proxy”, this means that a request to download a document at the URL would be sent directly to its host, without being sent to a proxy. Thus, the “no proxy” result is sometimes called “direct”.

At stage 804, a received URL (e.g., a URL specified by a user or by an application program) is run against the original proxy settings. This result is compared against the original proxy result for the public Internet address (stage 806). If the two proxy results are not equivalent (stage 806—no), then the received URL is routed through the proxy designated by the original proxy settings (stage 808). Thus, addresses that were routed through a proxy under the original proxy settings continue to be routed through the same proxy. If the two results are equivalent (stage 806—yes), then a modified proxy setting is used (stage 810). Here, the modified proxy setting is configured to be the client assistant. As described earlier, the client assistant in effect becomes a local proxy on the client.

To see the effects of these stages, it is instructive to examine how the logic would operate in the earlier described connectivity environments with particular reference to FIGS. 3-6. Referring to FIG. 3, as the browser uses the modified settings, it would run the received URL against the original proxy settings. If the received URL was in the private network 106, then the proxy result under the original settings (i.e., the proxy 206) would not match the proxy for the public Internet address under the original settings (i.e., no proxy). Accordingly, and referring to stages 806—no and 808 of FIG. 8, the browser would use the original proxy setting for the received URL and it would forward the request to the proxy 206, achieving the desired result. On the other hand, if the received URL is located on the Internet 104, the proxy result from the original proxy settings (i.e., no proxy) would match the proxy result from the original proxy settings for the public Internet address (i.e., no proxy) and so, referring to stages 806—yes and 810 of FIG. 8, the request is now directed to the client assistant 208, achieving the desired result. Thus, the modification of the proxy settings has not altered the traffic addressed to the private network 106.

Referring to FIG. 4, if the received address was in the private network 106, then the proxy under the original settings (i.e., direct) would not match the proxy for the public Internet address under the original proxy settings (i.e., the proxy 406). Accordingly, and referring to stages 806—no and 808 of FIG. 8, the browser would use the original proxy setting for the URL and it would direct the request directly to the private network 106, achieving the desired result. On the other hand, if the received address was located on the Internet 104, the proxy result from the original proxy settings (i.e., the proxy 214) would match the proxy result from the original proxy settings for the public Internet address (i.e., the proxy 214) and so, referring to stages 806—no and 810 of FIG. 8, the request is now directed to the client assistant 208, achieving the desired result. The client assistant 208 would send its traffic to the proxy 214. Since the client assistant 208 sets the IP address of its requests to server 210, the requests go to the server 210 from proxy 214 and not along connection 412 to the Internet 104. Thus, the modification of the proxy settings has not altered the traffic addressed to the private network 106 or bypassed the proxy 214.

Referring to FIG. 5, if the received address or URL was directed to one of the specialized proxies 502, then the proxy result under the original settings (i.e., one of the proxies 502) would not match the proxy result for the public Internet address under the original proxy settings (i.e., direct). Accordingly, and referring to stages 806—no and 808 of FIG. 8, the browser would use the original proxy setting for the URL and it would direct the request to the specialized proxy 502, achieving the desired result. On the other hand, if the received URL was not mapped to a proxy 520 by the original proxy settings, the proxy result from the original proxy settings (i.e., direct) would match the proxy result from the original proxy settings for the public Internet address (i.e., direct) and so, referring to stages 806—yes and 810 of FIG. 8, the request is now directed to the client assistant 208, achieving the desired result. Thus, the modification of the proxy settings has not altered the traffic addressed to the proxies 502.

Referring to FIG. 6, for all received addresses or URLs, the proxy under the original proxy settings (i.e., proxy 214) would match the proxy for the public Internet address under the original proxy settings (i.e., the proxy 214). Accordingly, and referring to stages 806—yes and 810 of FIG. 8, the browser would apply the modified proxy settings to the received URL and it would direct the request to client assistant 208. The client assistant 208 would send its traffic through the proxy 214, achieving the desired result. Since the client assistant 208 sets the IP address of its requests to server 210, the requests go to the server 210 from proxy 214 and not along connection 610 to the Internet 104. Thus, the modification of the proxy settings has not bypassed the proxy 214.

FIG. 9 illustrates in more detail how the control program determines and creates the modified proxy settings (stage 712 of FIG. 7) according to an embodiment of the invention. The control program first creates instructions to determine what result the original proxy settings would have produced for a received address (stage 902). The control program then creates instructions to compare the proxy results that the public Internet address would have generated under the previous proxy settings against the proxy results of the desired address (stage 904). The control program then creates instructions that instruct the browser to use the modified proxy result for the received address if the earlier comparison of the two proxy results determined equivalence, and if the comparison did not, to use the original proxy result (stage 906). Finally, the control program writes the created instructions to a file or equivalent computer program object that may be executed or run by or in conjunction with the browser, such as a locally stored file or URL resource made available via HTTP (908). In other embodiments, other methodologies may be used to generate a computer program or object for implementing the modified proxy settings.

Although embodiments of the invention have been described in relation to a public Internet, those of ordinary skill in the art would recognize that the same techniques could be used when the Internet is replaced with other types of networks, where an address or ranges of address within that network may be known.

Referring to FIG. 10, an embodiment of a system 1000 that implements the methods and logic described above includes one or more processing units (CPU's) 1002, one or more network or other communications interfaces 1004, memory 1006, and one or more communication buses 1008 for interconnecting these components. The system 1000 may optionally include a user interface 1010 comprising a display device 1012 and/or a keyboard 1014. Memory 1006 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic or optical storage disks. Memory 1006 may include mass storage that is remotely located from CPU's 1002. The memory 1006 may store:

-   -   an operating system 1016 that includes procedures for handling         various basic system services and for performing hardware         dependent tasks, including a registry 1018 for storing certain         information which may be used by various applications running on         the client;     -   a network communication module (or instructions) 1020 that is         used for connecting the system 1000 to other computers via the         one or more communications network interfaces 1004 (wired or         wireless) and one or more communications networks, such as the         Internet, other wide area networks, local area networks,         metropolitan area networks, and so on;     -   a browser/tool 1022 for interfacing with a user to receive user         commands, including user selected or specified addresses, and         for displaying documents corresponding to user selected or         specified addresses (e.g., URLs);     -   a client assistant 1024 that works in conjunction with a server         and/or server application to provide benefits to a user when         they are used in combination;     -   a control program 1026 that is used to run the client assistant         1024 and create modified proxy settings, including a detect         module 1028 for monitoring certain internet connections, a         module to read current proxy settings 1030, a module to launch         and terminate the client assistant 1032, a module 1034 for         generating a new proxy settings module 1040, a restore module         1036 for restoring previous proxy settings, and a modify setting         module 1038 for indicating to the browser new proxy settings;         and     -   a new proxy settings module 1040 containing modified proxy         settings for a browser/tool 1022, including a test module or         instructions for testing addresses against the original proxy         settings 1042, a compare module or instructions 1044 for         comparing the proxy results from the tested addresses, and a         proxy module 1046 that directs the browser to a particular         connection, e.g., a connection to a proxy or a direct         connection.

The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. 

What is claimed is:
 1. A method for determining a proxy, comprising: determining a first proxy for a predetermined host; determining a second proxy for a desired host; and returning a predetermined proxy as the proxy in accordance with a determination that the first proxy and the second proxy are equivalent, and otherwise returning the second proxy as the proxy.
 2. The method of claim 1, further including identifying the predetermined host from a list of hosts.
 3. The method of claim 2, further including adding hosts with known internet addresses to the list.
 4. The method of claim 1, wherein the predetermined host has a known internet address.
 5. The method of claim 1, including: obtaining a current proxy setting; creating a first computer programming object for determining the first proxy for the predetermined host using the current proxy setting; creating a second computer programming object for determining the second proxy for the desired host using the current proxy setting; creating a third computer program object for returning the predetermined proxy as the proxy in accordance with a determination that the first proxy and the second proxy are equivalent, and for otherwise returning the second proxy as the proxy; and creating a fourth computer program object by including at least the first script code and the second script code into a computer program object.
 6. A non-transitory computer readable storage medium storing one or more programs for execution by one or more processors of a computer system, the one or more programs comprising: instructions for determining a first proxy for a predetermined host; instructions for determining a second proxy for a desired host; and instructions for returning a pre-determined proxy as the proxy if the first proxy and the second proxy are equivalent, otherwise returning the second proxy as the proxy.
 7. The non-transitory computer readable storage medium of claim 6, further including instructions for identifying the pre-determined host from a list of hosts.
 8. The non-transitory computer readable storage medium of claim 7, further including instructions for adding hosts with known internet addresses to the list.
 9. The non-transitory computer readable storage medium of claim 6, wherein the pre-determined host has a known internet address.
 10. The non-transitory computer readable storage medium of claim 6, wherein the one or more programs include: instructions for obtaining a current proxy setting; instructions for creating a first computer program object for determining the first proxy for the predetermined host using the current proxy setting; instructions for creating a second computer program object for determining the second proxy for the desired host using the current proxy setting; and instructions for creating a third computer program object for returning the predetermined proxy as the proxy in accordance with a determination that the first proxy and the second proxy are equivalent, and for otherwise returning the second proxy as the proxy; and instructions for creating a fourth computer program object by including at least the first script code and the second script code into a computer program object.
 11. A system for determining a proxy, comprising: one or more processors for executing instructions in one or more computer program objects; a first computer program object that determines a first proxy for a predetermined host; a second computer program object that determines a second proxy for a desired host; and a third computer program object that returns a pre-determined proxy as the proxy in accordance with a determination that the first proxy and the second proxy are equivalent, otherwise returning the second proxy as the proxy.
 12. The system of claim 11, further including a fourth computer program object that identifies the predetermined host from a list of hosts.
 13. The system of claim 12, further including a fifth computer program object that adds hosts with known internet addresses to the list.
 14. The method of claim 13, wherein the predetermined host has a known internet address. 